#include<stdio.h>
#include<sys/time.h>

int main(int argc, char *argv[])
{
	struct timeval tv;
	struct timezone tz;
	gettimeofday(&tv, &tz);

	printf("tv.sec: %d\n", tv.tv_sec);
	printf("tv.usec: %d\n", tv.tv_usec);


	time_t t=0;
	t = time(NULL);
	printf("time.t : %d\n", t);
	return 0;
}
